package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-10-16
 */
@TableName("ORDER_SERVICE_SETTLE_GOODS")
public class OrderServiceSettleGoods extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("OSSEG_ID")
    private String ossegId;

    /**
     * 结算服务订单编号
     */
    @TableField("OSSE_ID")
    private String osseId;

    /**
     * 商品编码
     */
    @TableField("OSSEG_GOODS_DBID")
    private String ossegGoodsDbid;

    /**
     * 商品名称
     */
    @TableField("OSSEG_GOODS_NAME")
    private String ossegGoodsName;

    /**
     * 商品数量
     */
    @TableField("OSSEG_GOODS_NUMBER")
    private Float ossegGoodsNumber;

    /**
     * 计量单位
     */
    @TableField("OSSEG_GOODS_UNIT")
    private String ossegGoodsUnit;

    /**
     * 入库天数
     */
    @TableField("OSSEG_STORAGE_DAYS")
    private String ossegStorageDays;

    /**
     * 服务单价
     */
    @TableField("OSSEG_PRICE")
    private BigDecimal ossegPrice;

    /**
     * 服务金额
     */
    @TableField("OSSEG_MONEY")
    private BigDecimal ossegMoney;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    public String getOssegId() {
        return ossegId;
    }

    public void setOssegId(String ossegId) {
        this.ossegId = ossegId;
    }
    public String getOsseId() {
        return osseId;
    }

    public void setOsseId(String osseId) {
        this.osseId = osseId;
    }
    public String getOssegGoodsDbid() {
        return ossegGoodsDbid;
    }

    public void setOssegGoodsDbid(String ossegGoodsDbid) {
        this.ossegGoodsDbid = ossegGoodsDbid;
    }
    public String getOssegGoodsName() {
        return ossegGoodsName;
    }

    public void setOssegGoodsName(String ossegGoodsName) {
        this.ossegGoodsName = ossegGoodsName;
    }
    public Float getOssegGoodsNumber() {
        return ossegGoodsNumber;
    }

    public void setOssegGoodsNumber(Float ossegGoodsNumber) {
        this.ossegGoodsNumber = ossegGoodsNumber;
    }
    public String getOssegGoodsUnit() {
        return ossegGoodsUnit;
    }

    public void setOssegGoodsUnit(String ossegGoodsUnit) {
        this.ossegGoodsUnit = ossegGoodsUnit;
    }
    public String getOssegStorageDays() {
        return ossegStorageDays;
    }

    public void setOssegStorageDays(String ossegStorageDays) {
        this.ossegStorageDays = ossegStorageDays;
    }
    public BigDecimal getOssegPrice() {
        return ossegPrice;
    }

    public void setOssegPrice(BigDecimal ossegPrice) {
        this.ossegPrice = ossegPrice;
    }
    public BigDecimal getOssegMoney() {
        return ossegMoney;
    }

    public void setOssegMoney(BigDecimal ossegMoney) {
        this.ossegMoney = ossegMoney;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "OrderServiceSettleGoods{" +
            "ossegId=" + ossegId +
            ", osseId=" + osseId +
            ", ossegGoodsDbid=" + ossegGoodsDbid +
            ", ossegGoodsName=" + ossegGoodsName +
            ", ossegGoodsNumber=" + ossegGoodsNumber +
            ", ossegGoodsUnit=" + ossegGoodsUnit +
            ", ossegStorageDays=" + ossegStorageDays +
            ", ossegPrice=" + ossegPrice +
            ", ossegMoney=" + ossegMoney +
            ", createUser=" + createUser +
            ", createTime=" + createTime +
        "}";
    }
}
